package com.example.springsecurity.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.util.List;

/**
 * 单选多选数据库表
 */
@Data
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class ChoiceQuestion {
    private Integer questionId;//题目编号

    private String questionContent;//题目内容

    private boolean whetherMultipleChoice;//是否是多选题

    private String correctAnswerOptions;//正确答案选项

    private Integer questionProjectId;//项目编号


    /**
     * 题目包含的选择项
     */
    private List<Answer> answers;
}
